﻿using BPMN.Application.Contracts.DTO.Request.Plan;
using BPMN.Domain.Entity.Scheduling;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.IService
{
    public interface IPlanAppService
    {
         bool AddPlan(Plan plan);
         bool UpdatePlan(Plan plan);
         bool DeletePlan(int id);
        List<PlanDto> GetPlan(string plan_name,int pageIndex,int pageSize,out int totalCount,out int pagerCount);
        List<Plan_type> GetPlan_Type();
        bool plDelete(List<long> ids);
        Plan GetPlanById(int id);

    }
}
